Do not use a server-based search engine for the doxygen documentation.
Origin: <upstream|backport|vendor|other>, <URL, required except if Author is present>
Bug: <URL to the upstream bug report if any, implies patch has been forwarded, optional>
Bug-Debian: https://bugs.debian.org/914498
Forwarded: not-needed, Debian specific
Last-Update: 2020-04-08
As this would require a webserver with php enabled.
Last-Update: 2020-04-08
Gbp-Pq: Name do-not-use-doxygen-searchengine.patch
Do not enforce atomics support on archs not supporting it.
Forwarded: no, Debian specific.
Last-Update: 2018-05-26
armel seems to have no atomic support on opencascade, so make it possible to
hint the build system not to enforce it.
Last-Update: 2018-05-26
Gbp-Pq: Name armel-ftbfs.patch
* Fix FTCBFS for armel: build/host confusion. (Closes: #930938)
Thanks to Helmut Grohne for the patch.
* Add patch tp configure doxygen not to use php as search engine.
(Closes: #914498)
* Add a 64x64 icon and use it for the desktop file and install it
to /usr/share/icons/hicolor/64x64/apps, as hinted by appstream.
* Drop pkg-kde-tools from B-D an d/rules.
* Update d/copyright years.
Remove sonames so that dlopen works even if -dev package is not installed.
Move DRAW plug-ins into /usr/lib/opencas, these are private plug-ins and
not shared libraries.
Put rpath information into DRAWEXE to make it find plug-ins without
hacking source files.
Temporarily push back methods which have been removed between 6.3.0 and 6.5.0
Many classes in OCC 6.3.O did provide a method Value(), which
have been replaced by SquareDistance() in OCC 6.5.0.
These methods seem to be commonly used, we provide a temporary alias
to help smooth upgrades to 6.5.0.
Few other aliases are also added, but note that this patch is transient
and will be removed when all packages are ported to 6.5.0
When this option is set, loops which are parallelized upstream
with tbb are parallelized with openmp.
Due to a bug in libtool (it removes -fopenmp flag when linking),
a workaround is provided, but works only with GNU gcc.
Compile C sources with -D_GNU_SOURCE=1 as with C++
This is mostly cosmetics, but allows installing libraries
on a very old system. C source files in ros/src/IGESFile
use sscanf, which adds a dependency against glibc >= 2.7
unless it is compiled with -D_GNU_SOURCE=1.
Unlike upstream, we do not install config.h since applications
built with OpenCascade may want to ship their own config.h file.
Installed headers must then not #include <config.h>
Unfortunately the situation became worse in 6.5.0, upstream relies
on config.h being included by all files; we have to include
config.h in recently added C++ files.
Move _OCC64 macro definition into /usr/include/opencascade/arch-6.5.0/Standard_Macro64.hxx
This file is shipped by libopencascade-foundation-6.5.0, because include
files are in arch:all packages and this macro must be set only on 64-bit archs. Closes: #486386
Gbp-Pq: Name OCC64.patch
Fix detection of multibuf.h by the configure script
Without this patch, configure prints:
checking X11/extensions/multibuf.h usability... no
configure: WARNING: X11/extensions/multibuf.h: present but cannot be compiled
checking X11/extensions/multibuf.h presence... yes
configure: WARNING: X11/extensions/multibuf.h: check for missing prerequisite headers?
configure: WARNING: X11/extensions/multibuf.h: see the Autoconf documentation
configure: WARNING: X11/extensions/multibuf.h: section "Present But Cannot Be Compiled"
configure: WARNING: X11/extensions/multibuf.h: proceeding with the compiler's result
checking for X11/extensions/multibuf.h... no
Also modify installed headers to search for FTGL headers in
the right directory. This is not needed to build opencascade,
but may help people including those headers.
And last, fix usage of FTGL, FTFace is an internal structure
of FTGL and is no more exported.
Drop utsname usage for unknown architectures. It is misused and
prevent compilation on these architectures, see for instance
http://buildd.debian-ports.org/fetch.php?pkg=opencascade&arch=kfreebsd-i386&ver=6.3.0.dfsg.1-3&stamp=1237965784&file=log&as=raw
http://buildd.debian-ports.org/fetch.php?pkg=opencascade&arch=hurd-i386&ver=6.3.0.dfsg.1-3&stamp=1238775033&file=log&as=raw
Error message is:
../../../../ros/src/Visual3d/Visual3d_TransientManager.cxx: In static member function 'static Standard_Boolean Visual3d_TransientManager::BeginDraw(const Handle_Visual3d_View&, Standard_Boolean, Standard_Boolean)':
../../../../ros/src/Visual3d/Visual3d_TransientManager.cxx:123:70: error: taking address of temporary [-fpermissive]
../../../../ros/src/Visual3d/Visual3d_TransientManager.cxx:127:68: error: taking address of temporary [-fpermissive]
../../../../ros/src/Visual3d/Visual3d_TransientManager.cxx: In static member function 'static void Visual3d_TransientManager::ClearDraw(const Handle_Visual3d_View&, Standard_Boolean)':
../../../../ros/src/Visual3d/Visual3d_TransientManager.cxx:192:77: error: taking address of temporary [-fpermissive]
../../../../ros/src/Visual3d/Visual3d_TransientManager.cxx:194:75: error: taking address of temporary [-fpermissive]
../../../../ros/src/Visual3d/Visual3d_TransientManager.cxx: In static member function 'static Standard_Boolean Visual3d_TransientManager::BeginAddDraw(const Handle_Visual3d_View&)':
../../../../ros/src/Visual3d/Visual3d_TransientManager.cxx:232:79: error: taking address of temporary [-fpermissive]
../../../../ros/src/Visual3d/Visual3d_TransientManager.cxx:234:77: error: taking address of temporary [-fpermissive]
Workaround poor performance of the new mesher in OCC 6.5.0 with B-spline surfaces
The new mesher in OCC 6.5.0 is more robust, but also produces much
larger meshes on B-spline surfaces. Until this bug is fixed, it
seems better to use the generic procedure.
Patch provided by Jérôme Robert.
See http://www.opencascade.org/org/forum/thread_20076/
Gbp-Pq: Topic submitted
Gbp-Pq: Name workaround-bug-mesher.patch
[ Denis Barbier ]
* Add debian/patches/submitted/ftbfs-g++4.6.patch
Fix FTBFS with g++ 4.6. Closes: #624943
* Add debian/patches/submitted/fix-Abs-parenthesis.patch
Fix misplaced parenthesis, patch by Fotios Sioutis
on the OpenCascade forum.
* debian/patches/hurd-fixes.patch: Rename ED variable into
EData, as ED is a macro defined in errno.h on the Hurd.
* Fix sparc v9 detection in fix-asm.patch to fix FTBFS
on sparc64.
* Fix debian/patches/compatibility-occ630-Value.patch: the
old Value() method did return a distance whereas
SquareDistance() now returns a square distance, so Value()
must call sqrt(). Thanks to Roman Lygin and Mikhail Sazonov
for the catch on the OpenCASCADE forum.
[ Adam C. Powell, IV ]
* Bumped Standards-Version to 3.9.2, no changes needed.